package com.weixing.mall.provider.model.query;

import com.weixing.mall.base.enums.WhetherEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName SpecValueQuery
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/8/12
 * @Version 1.0
 **/
@Data
@ApiModel(description = "商品规格值查询")
public class SpecValueQuery {

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "商品规格id")
    private Long specId;
    @ApiModelProperty(value = "父节点ID")
    private Long parentId;
    @ApiModelProperty(value = "是否可用")
    private WhetherEnum isEnable;
    @ApiModelProperty(value = "名称支持色系、尺码组、尺码和颜色模糊搜索")
    private String name;

    @ApiModelProperty(value = "层级色系和尺码默认为1级")
    private Integer specLevel;
}
